package vn.hocweb.entity;

import java.sql.Date;
import java.util.ArrayList;
import java.util.List;

public class BaiHoc extends BaiHoc_Abstract{
	private BaiHoc baiHoc_LienQuan;
	private List<UngDung> danhSach_UngDung;
	private List<CongCu> danhSach_CongCu;
	
	public BaiHoc(long maBaiHoc, String nguoiCapNhat, String ten, String moTa,
			String ghiChu, int soLanXem, Date ngayCapNhat, int thuTu,
			boolean noiBat, boolean hienThi, long maBaiHoc_LienQuan) {
		super(maBaiHoc, nguoiCapNhat, ten, moTa, ghiChu, soLanXem, ngayCapNhat,
				thuTu, noiBat, hienThi);
		this.baiHoc_LienQuan = new BaiHoc(maBaiHoc_LienQuan);
		this.danhSach_UngDung = new ArrayList<UngDung>();
		this.danhSach_CongCu = new ArrayList<CongCu>();
	}

	public BaiHoc(long maBaiHoc) {
		super(maBaiHoc);
	}

	public BaiHoc getBaiHoc_LienQuan() {
		return baiHoc_LienQuan;
	}

	public void setBaiHoc_LienQuan(BaiHoc baiHoc_LienQuan) {
		this.baiHoc_LienQuan = baiHoc_LienQuan;
	}

	public List<UngDung> getDanhSach_UngDung() {
		return danhSach_UngDung;
	}

	public void setDanhSach_UngDung(List<UngDung> danhSach_UngDung) {
		this.danhSach_UngDung = danhSach_UngDung;
	}

	public List<CongCu> getDanhSach_CongCu() {
		return danhSach_CongCu;
	}

	public void setDanhSach_CongCu(List<CongCu> danhSach_CongCu) {
		this.danhSach_CongCu = danhSach_CongCu;
	}
	
}
